<template>
	<view>
		<view @tap="clickAction" class="bg-white radius shadow-blur">
			<view class="flex justify-start align-start">
				<view class="flex justify-start align-center padding-left padding-top padding-bottom" style="flex-direction: column;">
					<view class="radius padding-bottom-xs">
						<image class="radius" :src="document.icon" style="width:66upx;height:66upx;">
						</image>
					</view>
				</view>
				<view class="padding flex justify-start align-center" style="width: 100%;">
					<view class="flex justify-start align-start" style="flex-direction: column;">
						<view class="flex justify-between align-center" style="width: 100%;">
							<text class="text-lg">{{document.title}}</text>
						</view>
						<text class="text-grey text-sm">腾讯文档</text>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"DetailDocument",
		data() {
			return {
				
			};
		},
		props: {
			document: {
				type: Object,
				default: {}
			},
		},
		methods: {
			clickAction() {
				this.$emit('click')
			}
		},
	}
</script>

<style>

</style>
